/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.activity.entity;

import com.jeeplus.modules.activity.entity.Activity;
import com.jeeplus.modules.sys.entity.User;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 活动调研人员Entity
 * @author lw
 * @version 2018-01-14
 */
public class ActivityRecord extends DataEntity<ActivityRecord> {
	
	private static final long serialVersionUID = 1L;
	private Activity activity;		// 活动id
	private User user;		// 用户id
	
	public ActivityRecord() {
		super();
	}

	public ActivityRecord(String id){
		super(id);
	}

	public ActivityRecord(Activity activity2) {
		// TODO Auto-generated constructor stub
	}

	@ExcelField(title="活动id", align=2, sort=2)
	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}
	
	@ExcelField(title="用户id", align=2, sort=3)
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
}